QT       += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++17

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    Prompter/dropedit.cpp \
    Prompter/prompterwidget.cpp \
    QtTool/ConversionObject.cpp \
    QtTool/qttoolwidget.cpp \
    RetractableSidebarWindow/sidebar.cpp \
    RetractableSidebarWindow/sidebaroptionsbutton.cpp \
    RetractableSidebarWindow/sidebarwindow.cpp \
    Set/setwidget.cpp \
    WIN32/compositionwindoweffect.cpp \
    WIN32/dwmwindoweffect.cpp \
    WIN32/windowmanager.cpp \
    main.cpp \
    widget.cpp

HEADERS += \
    Prompter/dropedit.h \
    Prompter/prompterwidget.h \
    QtTool/ConversionObject.h \
    QtTool/PATH.h \
    QtTool/qttoolwidget.h \
    RetractableSidebarWindow/sidebar.h \
    RetractableSidebarWindow/sidebaroptionsbutton.h \
    RetractableSidebarWindow/sidebarwindow.h \
    Set/setwidget.h \
    WIN32/compositionwindoweffect.h \
    WIN32/dwmwindoweffect.h \
    WIN32/windowmanager.h \
    widget.h

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

RESOURCES += \
    res.qrc

FORMS += \
    Prompter/prompterwidget.ui \
    QtTool/qttoolwidget.ui \
    Set/setwidget.ui

DISTFILES += \
    QtTool/uic/uic_Qt6_MSVC2019_x64_static_release.exe
